/*
 * XML Type:  Closing
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.Closing
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML Closing(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface Closing extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("closing013ftype");
    
    /**
     * Gets the "FITID" element
     */
    java.lang.String getFITID();
    
    /**
     * Gets (as xml) the "FITID" element
     */
    net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType xgetFITID();
    
    /**
     * Sets the "FITID" element
     */
    void setFITID(java.lang.String fitid);
    
    /**
     * Sets (as xml) the "FITID" element
     */
    void xsetFITID(net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType fitid);
    
    /**
     * Gets the "DTOPEN" element
     */
    java.lang.String getDTOPEN();
    
    /**
     * Gets (as xml) the "DTOPEN" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTOPEN();
    
    /**
     * True if has "DTOPEN" element
     */
    boolean isSetDTOPEN();
    
    /**
     * Sets the "DTOPEN" element
     */
    void setDTOPEN(java.lang.String dtopen);
    
    /**
     * Sets (as xml) the "DTOPEN" element
     */
    void xsetDTOPEN(net.ofx.types.x2003.x04.DateTimeType dtopen);
    
    /**
     * Unsets the "DTOPEN" element
     */
    void unsetDTOPEN();
    
    /**
     * Gets the "DTCLOSE" element
     */
    java.lang.String getDTCLOSE();
    
    /**
     * Gets (as xml) the "DTCLOSE" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTCLOSE();
    
    /**
     * Sets the "DTCLOSE" element
     */
    void setDTCLOSE(java.lang.String dtclose);
    
    /**
     * Sets (as xml) the "DTCLOSE" element
     */
    void xsetDTCLOSE(net.ofx.types.x2003.x04.DateTimeType dtclose);
    
    /**
     * Gets the "DTNEXT" element
     */
    java.lang.String getDTNEXT();
    
    /**
     * Gets (as xml) the "DTNEXT" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTNEXT();
    
    /**
     * True if has "DTNEXT" element
     */
    boolean isSetDTNEXT();
    
    /**
     * Sets the "DTNEXT" element
     */
    void setDTNEXT(java.lang.String dtnext);
    
    /**
     * Sets (as xml) the "DTNEXT" element
     */
    void xsetDTNEXT(net.ofx.types.x2003.x04.DateTimeType dtnext);
    
    /**
     * Unsets the "DTNEXT" element
     */
    void unsetDTNEXT();
    
    /**
     * Gets the "BALOPEN" element
     */
    java.lang.String getBALOPEN();
    
    /**
     * Gets (as xml) the "BALOPEN" element
     */
    net.ofx.types.x2003.x04.AmountType xgetBALOPEN();
    
    /**
     * True if has "BALOPEN" element
     */
    boolean isSetBALOPEN();
    
    /**
     * Sets the "BALOPEN" element
     */
    void setBALOPEN(java.lang.String balopen);
    
    /**
     * Sets (as xml) the "BALOPEN" element
     */
    void xsetBALOPEN(net.ofx.types.x2003.x04.AmountType balopen);
    
    /**
     * Unsets the "BALOPEN" element
     */
    void unsetBALOPEN();
    
    /**
     * Gets the "BALCLOSE" element
     */
    java.lang.String getBALCLOSE();
    
    /**
     * Gets (as xml) the "BALCLOSE" element
     */
    net.ofx.types.x2003.x04.AmountType xgetBALCLOSE();
    
    /**
     * Sets the "BALCLOSE" element
     */
    void setBALCLOSE(java.lang.String balclose);
    
    /**
     * Sets (as xml) the "BALCLOSE" element
     */
    void xsetBALCLOSE(net.ofx.types.x2003.x04.AmountType balclose);
    
    /**
     * Gets the "BALMIN" element
     */
    java.lang.String getBALMIN();
    
    /**
     * Gets (as xml) the "BALMIN" element
     */
    net.ofx.types.x2003.x04.AmountType xgetBALMIN();
    
    /**
     * True if has "BALMIN" element
     */
    boolean isSetBALMIN();
    
    /**
     * Sets the "BALMIN" element
     */
    void setBALMIN(java.lang.String balmin);
    
    /**
     * Sets (as xml) the "BALMIN" element
     */
    void xsetBALMIN(net.ofx.types.x2003.x04.AmountType balmin);
    
    /**
     * Unsets the "BALMIN" element
     */
    void unsetBALMIN();
    
    /**
     * Gets the "DEPANDCREDIT" element
     */
    java.lang.String getDEPANDCREDIT();
    
    /**
     * Gets (as xml) the "DEPANDCREDIT" element
     */
    net.ofx.types.x2003.x04.AmountType xgetDEPANDCREDIT();
    
    /**
     * True if has "DEPANDCREDIT" element
     */
    boolean isSetDEPANDCREDIT();
    
    /**
     * Sets the "DEPANDCREDIT" element
     */
    void setDEPANDCREDIT(java.lang.String depandcredit);
    
    /**
     * Sets (as xml) the "DEPANDCREDIT" element
     */
    void xsetDEPANDCREDIT(net.ofx.types.x2003.x04.AmountType depandcredit);
    
    /**
     * Unsets the "DEPANDCREDIT" element
     */
    void unsetDEPANDCREDIT();
    
    /**
     * Gets the "CHKANDDEB" element
     */
    java.lang.String getCHKANDDEB();
    
    /**
     * Gets (as xml) the "CHKANDDEB" element
     */
    net.ofx.types.x2003.x04.AmountType xgetCHKANDDEB();
    
    /**
     * True if has "CHKANDDEB" element
     */
    boolean isSetCHKANDDEB();
    
    /**
     * Sets the "CHKANDDEB" element
     */
    void setCHKANDDEB(java.lang.String chkanddeb);
    
    /**
     * Sets (as xml) the "CHKANDDEB" element
     */
    void xsetCHKANDDEB(net.ofx.types.x2003.x04.AmountType chkanddeb);
    
    /**
     * Unsets the "CHKANDDEB" element
     */
    void unsetCHKANDDEB();
    
    /**
     * Gets the "TOTALFEES" element
     */
    java.lang.String getTOTALFEES();
    
    /**
     * Gets (as xml) the "TOTALFEES" element
     */
    net.ofx.types.x2003.x04.AmountType xgetTOTALFEES();
    
    /**
     * True if has "TOTALFEES" element
     */
    boolean isSetTOTALFEES();
    
    /**
     * Sets the "TOTALFEES" element
     */
    void setTOTALFEES(java.lang.String totalfees);
    
    /**
     * Sets (as xml) the "TOTALFEES" element
     */
    void xsetTOTALFEES(net.ofx.types.x2003.x04.AmountType totalfees);
    
    /**
     * Unsets the "TOTALFEES" element
     */
    void unsetTOTALFEES();
    
    /**
     * Gets the "TOTALINT" element
     */
    java.lang.String getTOTALINT();
    
    /**
     * Gets (as xml) the "TOTALINT" element
     */
    net.ofx.types.x2003.x04.AmountType xgetTOTALINT();
    
    /**
     * True if has "TOTALINT" element
     */
    boolean isSetTOTALINT();
    
    /**
     * Sets the "TOTALINT" element
     */
    void setTOTALINT(java.lang.String totalint);
    
    /**
     * Sets (as xml) the "TOTALINT" element
     */
    void xsetTOTALINT(net.ofx.types.x2003.x04.AmountType totalint);
    
    /**
     * Unsets the "TOTALINT" element
     */
    void unsetTOTALINT();
    
    /**
     * Gets the "DTPOSTSTART" element
     */
    java.lang.String getDTPOSTSTART();
    
    /**
     * Gets (as xml) the "DTPOSTSTART" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTPOSTSTART();
    
    /**
     * Sets the "DTPOSTSTART" element
     */
    void setDTPOSTSTART(java.lang.String dtpoststart);
    
    /**
     * Sets (as xml) the "DTPOSTSTART" element
     */
    void xsetDTPOSTSTART(net.ofx.types.x2003.x04.DateTimeType dtpoststart);
    
    /**
     * Gets the "DTPOSTEND" element
     */
    java.lang.String getDTPOSTEND();
    
    /**
     * Gets (as xml) the "DTPOSTEND" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTPOSTEND();
    
    /**
     * Sets the "DTPOSTEND" element
     */
    void setDTPOSTEND(java.lang.String dtpostend);
    
    /**
     * Sets (as xml) the "DTPOSTEND" element
     */
    void xsetDTPOSTEND(net.ofx.types.x2003.x04.DateTimeType dtpostend);
    
    /**
     * Gets the "MKTGINFO" element
     */
    java.lang.String getMKTGINFO();
    
    /**
     * Gets (as xml) the "MKTGINFO" element
     */
    net.ofx.types.x2003.x04.InfoType xgetMKTGINFO();
    
    /**
     * True if has "MKTGINFO" element
     */
    boolean isSetMKTGINFO();
    
    /**
     * Sets the "MKTGINFO" element
     */
    void setMKTGINFO(java.lang.String mktginfo);
    
    /**
     * Sets (as xml) the "MKTGINFO" element
     */
    void xsetMKTGINFO(net.ofx.types.x2003.x04.InfoType mktginfo);
    
    /**
     * Unsets the "MKTGINFO" element
     */
    void unsetMKTGINFO();
    
    /**
     * Gets the "CURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency getCURRENCY();
    
    /**
     * True if has "CURRENCY" element
     */
    boolean isSetCURRENCY();
    
    /**
     * Sets the "CURRENCY" element
     */
    void setCURRENCY(net.ofx.types.x2003.x04.Currency currency);
    
    /**
     * Appends and returns a new empty "CURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency addNewCURRENCY();
    
    /**
     * Unsets the "CURRENCY" element
     */
    void unsetCURRENCY();
    
    /**
     * Gets the "ORIGCURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency getORIGCURRENCY();
    
    /**
     * True if has "ORIGCURRENCY" element
     */
    boolean isSetORIGCURRENCY();
    
    /**
     * Sets the "ORIGCURRENCY" element
     */
    void setORIGCURRENCY(net.ofx.types.x2003.x04.Currency origcurrency);
    
    /**
     * Appends and returns a new empty "ORIGCURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency addNewORIGCURRENCY();
    
    /**
     * Unsets the "ORIGCURRENCY" element
     */
    void unsetORIGCURRENCY();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.Closing newInstance() {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.Closing parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.Closing) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
